package com.xiaoyi.springboot.aspect;

import com.xiaoyi.springboot.base.Constant;
import org.aspectj.lang.ProceedingJoinPoint;

import java.lang.reflect.Method;

/**
 *
 * @author xiaoyi
 * @date 2021/10/9 14:08
 * @version v1.0
 */
public class AspectApiImpl implements AspectApi {

    @Override
    public Object doHandlerAspect(ProceedingJoinPoint pjp, Method method) throws Throwable {
        Constant.isPass.set(false);
        return null;
    }
}
